package cn.smile.bean.form.basic.voucher;

import cn.smile.bean.entity.basic.Voucher;
import cn.smile.commons.domain.BaseQueryEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class QueryVoucherForm extends BaseQueryEntity<Voucher> {
    @Serial
    private static final long serialVersionUID = 897229351954562808L;

    /**
     * 代金券名称
     */
    private String voucherName;

    /**
     * 使用店铺ID查询标记
     */
    private Boolean useShopFlag = Boolean.TRUE;

    /**
     * 代金券状态
     * @see cn.smile.commons.enums.basic.VoucherStatusEnum
     */
    private List<Integer> voucherStatusList;
}
